package com.example.demo.service;

import com.example.demo.pojo.Student;


import java.util.List;

public interface StudentService {
    //通过年龄查询
    public List<Student> findStudentByAge(Integer age);
    //添加信息
    public boolean insertStudent(Student studrnt);
    //显示所有
    public  List<Student> selectStudentAll();
    //通过id删除信息
    public boolean deleteStudent(int id);
    //通过id修改信息
    public  boolean updateStudent(Student student);
}
